package com.qf.business.course.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qf.business.course.dao.CourseTypeGuigeDao;
import com.qf.data.course.dto.CourseGuigeDto;
import com.qf.data.course.entity.CourseTypeGuige;
import com.qf.business.course.service.CourseTypeGuigeService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 课程分类和规格的关联表(CourseTypeGuige)表服务实现类
 *
 * @author makejava
 * @since 2022-09-22 09:52:56
 */
@Service("courseTypeGuigeService")
public class CourseTypeGuigeServiceImpl extends ServiceImpl<CourseTypeGuigeDao, CourseTypeGuige> implements CourseTypeGuigeService {

    @Override
    public List<CourseGuigeDto> queryGuigesByTid(Integer tid) {
        return getBaseMapper().queryGuigesByTid(tid);
    }
}

